package com.qingke.studentinfo.Service;

import java.util.List;

import com.qingke.studentinfo.Dao.StudentDao;
import com.qingke.studentinfo.pojo.Student;

public class StudentService {
	StudentDao sd = new StudentDao();
	
	public int addStudent(Student student) {
		return sd.addStudent(student);
	}
	
	public List<Student> findAllStudents(Student student) {
		return sd.findAll(student);
	}
}
